package com.example.homelicaisystem.dao;

import com.example.homelicaisystem.entity.InvestmentDetail;
import com.example.homelicaisystem.entity.DTO.InvestmentDetailDTO;
import com.example.homelicaisystem.entity.SelectResult;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InvestmentDetailMapper {

    Page<InvestmentDetail> getList(InvestmentDetailDTO data);

    void insert(InvestmentDetail data);

    InvestmentDetail getInvestmentDetailById(int id);

    void delete(int id);
}
